<link rel='stylesheet' href='../../static/news/style/style1.css'>
<link rel='stylesheet' href='../../static/news/style/tab.css'>
<link rel='stylesheet' href='../../static/news/style/extra.css'>
<link rel='stylesheet' href='../../static/news/style/sdmenu.css'>
<script charset="utf-8" src="../../static/news/style/common.js"></script>
<script charset="utf-8" src="../../static/news/style/sdmenu.js"></script>
<link rel="stylesheet"
	href="/static/public/ztree/css/zTreeStyle/zTreeStyle.css"
	type="text/css">
<script type="text/javascript"
	src="/static/public/ztree/jquery-1.4.4.min.js"></script>
<script type="text/javascript"
	src="/static/public/ztree/jquery.ztree.core-3.3.js"></script>
		<script type="text/javascript" src="/static/public/ztree/jquery.ztree.excheck-3.3.js"></script>
	
	<script type="text/javascript" src="/static/public/ztree/jquery.ztree.exedit-3.3.js"></script>
	{literal}
	<script type='text/javascript'>
// <![CDATA[
var myMenu;
window.onload = function() { myMenu = new SDMenu('my_menu'); myMenu.init(); };
// ]]>

 $(document).ready(function(){
    $('#cate').change(function(){
       var a=$(this).children('option:selected').val();  //弹出select的值
       window.location.href='/news/bindcate/?cid='+a;
    });
   });
   
</script>
	

{/literal}
<!-- 头部// -->
{include file="news/top.tpl"}

<!-- 左侧// -->
{include file="news/nav.tpl"}
<!-- 中间// -->
<td valign="top" class="td_content">
<!-- setting title/desc -->
<div class="block titlebox">
<!-- setting title/desc -->




<!-- 内容// -->
<table width="100%" align=center cellspacing=1 cellpadding=5 border=0 class=mytb>
<form action="#" method="post">

<!--分类绑定字段//-->
<tr class=title> <td colspan=2>新闻实体字段</td> </tr>


<tr>
<td class=left >分类</td>
<td class=right >
{$category}
</td>
</tr>



<tr>
<td class=left ></td>
<td class=right >
<form action="/news/bindcate" method="post">
{foreach from=$extend item=l}
<input type="checkbox" 
{if $l.checked=='checked'}checked{/if} id="chk_id" name="eid[]" value="{$l.eid}">{$l.name}
{/foreach}</td>
</tr>

<tr>
<td class=left ></td>
<td class="right"><input type="submit" value="绑定"  class="imgbutton" onclick="jqchk()"></td>
</form>

</tr>

</table>


<div style='padding:5px;color:#e60000;text-align:center;'></div>
</div>

    <!-- help -->
    <div class="block">
        <h2 class="title" align=left>使用提示</h2>
        <div class="content">
			<ol class=help> <li>绑定之后 会显示之前的分类</li></ol>
        </div>
    </div>
	<!-- help -->

</td>
</tr>
</table>
<!-- 底部// -->
{include file="news/footer.tpl"}
